package com.sky.service.user.Impl;

import com.sky.mapper.user.UDishMapper;
import com.sky.pojo.Dish;
import com.sky.service.user.UDishService;
import com.sky.vo.DishVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UDishServiceImpl implements UDishService {
    @Autowired
    private UDishMapper uDishMapper;
    @Override
    public List<DishVO> getUDishByCategoryId(Long categoryId) {
        List<DishVO> dishList = uDishMapper.getUDishByCategoryId(categoryId);
        return dishList;
    }
}
